<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class AdminUserLog extends Model
{
    public $table = 'admin_user_logs';

    //和员工的关联
    public function adminUser()
    {
        return $this->belongsTo(AdminUser::class,'admin_user_id','id');
    }

    //和任务的关联
    public function adminUserRequirement()
    {
        return $this->belongsTo(AdminUserRequirement::class,'admin_user_requirement_id','id');
    }

}
